package com.siruier.boss.ui.activity.commom

import com.siruier.boss.api.NoticeBean
import com.siruier.boss.databinding.ActivityMessageDetailsBinding
import com.siruier.boss.ui.base.BaseActivity

class NoticeDetailsActivity : BaseActivity<ActivityMessageDetailsBinding>() {

    private val mNoticeBean: NoticeBean by lazy { intent?.extras?.getParcelable("notice") ?: NoticeBean() }

    override fun initView() {
        vb.titleView.titleStr = "通知详情"
        mNoticeBean.run {
            vb.tvMsgTitle.text = name
            vb.txMsgDate.text = addTime
            vb.tvContent.text = content
        }
    }
}